<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="/public/static/bootstrap-3.3.7/dist/css/bootstrap.min.css" />
<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="/public/static/bootstrap-3.3.7/dist/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="/public/static/css/common.css" />
<!--  引入jquery  -->
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="/public/static/bootstrap-3.3.7/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/public/static/js/common.js"></script>
</head>
<body>
	<div class="container">
		<div class="row">
			<h1 class="text-center">XX核电厂职业危害在线监控系统</h1>
		</div>
	</div>
	<div class="container">
		<div class="row">
			<div class="col-md-4 col-md-offset-4">
				<form class="form-signin" action="/user/login" method="post">
					<h2 class="form-signin-heading">Please sign in</h2>
					<div class="alert-content">
					#if(error)
						<div class="alert alert-warning alert-dismissible fade in" role="alert">
							<button type="button" class="close" data-dismiss="alert" aria-label="Close">
								<span aria-hidden="true">×</span>
							</button>
							#(error)
						</div>
					#end
					</div>
					<label for="inputUsername" class="sr-only">用户名</label>
					<input type="text" id="inputUsername" class="form-control" name="userApi.username" placeholder="用户名" required autofocus />
					<label for="inputPassword" class="sr-only">密码</label>
					<input type="password" id="inputPassword" class="form-control" name="userApi.password" placeholder="密码" required />
					<div class="checkbox">
						<label>
							<input type="checkbox" name="remember-me" value="false" />
							Remember me
						</label>
					</div>
					<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
